IApi.RemoveVariable 方法
移除一个使用者定义变数。
命名空间:IntervalZero.KINGSTAR.Base.Api组合: IntervalZero.KINGSTAR.Base.Api (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
语法
KsError RemoveVariable(
UserVariable Variable
)
Function RemoveVariable(
Variable As UserVariable
) As KsError
参数
Variable
型别:UserVariable
欲移除的变数。
回传值
型别:KsError
方法的回传值。
备注
使用 Debug 方法或 Log 时,无法使用 RemoveVariable 移除使用者变数。
可用的 EtherCAT 状态
ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP
范例
N/A
参见